package J_S.cours2_3.Parking;

public class TestPlaqueDeVoiture {
	public static void main(String[] args) {
		int[] table = new int[1000];
		PlaqueDeVoiture plaque;
		for (char i = 'A'; i <= 'Z'; i++) {
			for (char i2 = 'A'; i2 <= 'Z'; i2++) {
				for (char i3 = 'A'; i3 <= 'Z'; i3++) {
					for (int i4 = 0; i4 <= 9; i4++) {
						for (int i5 = 0; i5 <= 9; i5++) {
							for (int i6 = 0; i6 <= 9; i6++) {
								// System.out.println(i +" "+ i2 +" "+ i3 +" "
								// +i4 +" " +i5+" "+i6);
								plaque = new PlaqueDeVoiture("" + i + i2 + i3 + i4 + i5 + i6);
								table[plaque.hashCode()]++;
							}
						}
					}
				}
			}
		}
		for (int i =0; i<1000;i++){
			System.out.println(table[i]);
		}
	}
}
